#ifndef MFILE_
#define MFILE_
#include "stdafx.h"

class MFile
{
public:
	MFile();
	~MFile();
	MFile(char * filename);
	void Open(char *filename);
	uint GetID();
	void GetURL(char * buf);
	void GoToNextBlock();
	FILE *GetFile();
	void Write(uint ID, char *url);
private:
	TFile * file;
};
#endif